Repository navigation
docs(plugins): 协议更新记录把已合入的 PR 移进时间线并回填日期(#222) - #226
Merged
Merged
Conversation
“待合入”一节的 20 条记录(含 #224)对应的 PR 都已合入 main,按 UTC 合入日期改成时间线表格行,原文逐句保留,只删去“合入日期在合并时补齐” 之类的占位句;#193 已在时间线里,删去重复的待合入条目。新增 2026-11-24、 2026-11-22 两个日期分组。 - 回填“按协议查首次出现”的市场增量索引 schemaVersion 0(#187)、 toolchainProviders 1 与 litheToolchains 1(#182),以及“宿主方法 (按 API 编号)”里 #194、#190、#183、#151 的 18 个方法日期。 - 补录改了契约却没有登记的 #177、#117、#26。 - #207 的修改人按 PR 作者改为 devin-ai-integration[bot]。 - 时间线表头和维护说明统一用“改动”;转义 #133 行内代码里的竖线, 避免表格多出一列。
“宿主方法(按 API 编号)”表给 5 个 PR 补了 13 行,都是给已有方法或通知加字段、改校验时漏登记的: - #151:workspace/listContexts、workspace/getContext(authority 新增 platform),functions/invoke(转发远程工作区上下文的调用) - #184:API-11 的 7 个方法(路由前严格校验参数;workspace/create 的 kind 新增 symlink 与 linkTarget) - #188:editor/registerProviders(新增 colorDecorations) - #198:editor/registerActions(actionIcons 新增 4 个导航图标 token) - #224:agents/didPrompt(有附件时带 attachments) 统一写法:方法列只写方法名,补了什么写在协议列的括号里(#193 的 openHTML、openExternal,#23、#128 的 run/start,#128 的 prepareRun);同一个方法的各行排在一起,首次记录在前。 表格说明、维护第 3 步和 API PR 提交指南第 4 步写明:给已有方法或通知加参数、返回字段或取值,或改执行、校验行为,都在索引另加一行;API 总表不加行,用途、权限或协议变了就改原来那一行。
7 of 10 tasks
xiaoyumuxi
marked this pull request as ready for review
November 29, 2026 07:56
xiaoyumuxi
added a commit
to 1lck/Lithe-IDEA
that referenced
this pull request
Nov 29, 2026
和 Lithe-IDEA/Lithe-core-rust#226 的登记规则对齐:新增方法在 API 总表和方法索引各加一行;给已有方法或通知加参数、返回字段或取值,或改执行、校验行为,只在方法索引另加一行,总表改原来那一行。
Contributor
There was a problem hiding this comment.
🔍 Devin Review: 2 flags
Not posted on this PR by your GitHub settings — view them in Devin Review. (Configure)
xiaoyumuxi
added a commit
to WhiteZeek/Lithe-core-rust
that referenced
this pull request
Nov 29, 2026
Keep the Lithe-IDEA#218 entry as the only pending record after Lithe-IDEA#226 moved the others into the timeline.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #222
概述 / Summary
只改文档:插件协议更新记录“待合入”一节里的 PR 早都合入了
main,却一直没有移进时间线,表格里也还写着“待合入”。这个 PR 把它们全部移进时间线并回填日期,补录三个改过契约却从没登记的 PR,再把给已有宿主方法加字段、改校验却没进“宿主方法(按 API 编号)”表的 13 处补上,并在说明里写清这条规则。协议、契约、代码都没有改。日期一律取
gh pr view <编号> --json mergedAt的 UTC 日期,同一天内按合入时间新的在上。方法与命令 / Methods and commands
主要改动 / Changes
1. “待合入”的 20 条移进时间线(Issue 列的 19 条,加上 2026-11-28 合入的 #224)
每条拆成时间线的五列(PR、修改人、API 编号、协议 / 能力、改动),“改动”列是原文。只删了“合入日期在合并时补齐”“合入日期待合并时填写”这类占位句,其余逐句保留,用脚本核对过。
@1lck,但 PR 作者是devin-ai-integration[bot]。按本页“修改人 = PR 作者”的规则,改成[@devin-ai-integration[bot]](https://github.com/apps/devin-ai-integration),写法和 feat(plugins): add managed runtime preparation and isolated resolver sessions #96 的lithe-support[bot]一致。ui1(已由 fix(plugin-ui): 撤回 ui 1,设置区域工具行的 choose 改为 ui 0 内的可选字段 #175 撤回)”,读者不用往下看就知道这一版没有生效。2. 回填表格里的“待合入”(21 处)
schemaVersion0 → 2026-11-24(feat(plugin-marketplace): 验证并重建插件增量包 #187)toolchainProviders1 → 2026-11-23(fix(toolchains): version permission and authority error codes #182)litheToolchains(toolchainProviders)1 → 2026-11-23(fix(toolchains): version permission and authority error codes #182)workspace/getHostPaths→ 2026-11-213. 补录漏登记的 PR
扫了
git log里改过这三处的 PR:shared/plugins/contract/v1/、capabilities.rs、plugin-rpc/src/。按本页的收录范围,下面三个应该登记,但时间线和待合入里都没有:toolDefinitions0 内的补充:工具定义新增可选executableLinksOutsideHomelitheBuild0、1 内的说明补充(Rust SDK):Rust SDK 支持构建提供者pluginAPIVersion0 内的说明修正:契约 README 和toolchains/README.md的源码路径改到rust/crates/4. 已有方法加字段、改校验,在“宿主方法”表补行(13 行)
过去这张表有时为已有方法的扩展加一行(#23、#128 的
run/start,#193、#194 的preview/openHTML),有时没加。现在统一补上,规则见第 6 点。workspace/listContexts、workspace/getContextauthority新增platform)functions/invokedocuments/save、saveAs、close,workspace/rename、copy、trashworkspace/createkind新增symlink与linkTarget;路由前严格校验参数)editor/registerProviderscolorDecorations)editor/registerActionsactionIcons新增 4 个导航图标 token)agents/didPrompt(通知)attachments)lithe/build/*等,由插件实现,不是宿主方法)和 Core 内核命令(如agents.prompt、workspace.watchPlan)。表里原有的 fix(terminal): 保留控制台原始字节并兼容 Windows GBK #128lithe/build/prepareRun(提供者方法)一行照旧保留。run/start、feat(lsp-engine): keep hover answers so resting on a symbol again answers at once #61 提到languageServer/request。didPrompt已写附件,registerProviders已列colorDecorations)。5. 统一格式
download: null | {version}里有个没转义的|,GitHub 会把这一行切成六列。已改成\|,显示的文字不变。preview/openHTML(内联来源)、browser/openExternal(资源打开),feat(core)!: 删除 Java/Maven/JDT 特判与契约专属死命令,run/start 临时文件支持 base64 #23、fix(terminal): 保留控制台原始字节并兼容 Windows GBK #128 的run/start,fix(terminal): 保留控制台原始字节并兼容 Windows GBK #128 的lithe/build/prepareRun。6. 写明登记规则
验证 / Verification
node shared/plugins/scripts/verify-docs.mjs:通过(Plugin docs and contract links are consistent.)。mergedAt排好位置(新的在上)。原有行的顺序没有动。跟进 / Follow-up
以下几件事这个 PR 没做:
verify-docs.mjs检查(Issue 里的可选项):Issue 建议检查“已合入的 PR 不能留在待合入”,但这要联网查 GitHub,verify-docs.mjs现在完全离线。没加,由维护者决定。AGENTS.md原来写“每个方法在两处各加一行”,和这里的新规则对不上,已在 1lck/Lithe-IDEA#2518(Draft)对齐,本 PR 合入后再合它。